package com.qidian.buy.cart.service;

import com.qidian.buy.cart.vo.CartItemVO;
import com.qidian.buy.util.pojo.QdResult;

/**
 * Author: 戴着假发的程序员
 * Date: 2024-05-17 10:53
 * company: 起点编程
 * Description:
 **/
public interface CartService {
    QdResult addItemToCart(CartItemVO vo,Long userId);
    QdResult deleteItemFromCart(Long userId,Long itemId);
    QdResult updateItemCount(Long userId,Long itemId,Integer count);
    QdResult list(Long userId);

    QdResult listByItemIds(Long [] itemIds,Long userId);
}
